In-Depth Coverage of the Icon Programming Language
ثبت نشده
چکیده
where values contains the strings to be written. (In Version 9 of Icon, this form of invocation can be used with records as well as lists; we’ll just refer to lists in what follows.) The main advantage of invocation with an Icon list is that it allows the number of arguments to be determined when the program is run. This is useful primarily for built-in functions like write() and DrawLine() that accept a variable number of arguments. A declared procedure also can have a variable number of arguments. Although the procedure to be invoked usually is given explicitly in an invocation expression, it can be the result of an expression that produces a procedure, as in
منابع مشابه
In-Depth Coverage of the Icon Programming Language Shaft Arithmetic
Shaft Arithmetic ............................................ 1 Periodic Sequences ....................................... 5 Finding Repeats ............................................ 7 Name Drafting ............................................ 11 Variations on Versum Sequences ............. 15 Answers to Last Quiz ................................. 18 From the Library ...........................
متن کاملIn-Depth Coverage of the Icon Programming Language
Weave Draft Representation ....................... 1 From the Library ........................................... 3 Graphics Corner ............................................ 4 Exploring Sequences Interactively ............. 7 Answers to Quiz ........................................... 9 Woven Images ............................................. 10 Shadow-Weave Wallpaper ........................
متن کاملAnalyzing Character Patterns
About This Issue ................................ 1 Analyzing Character Patterns .......... 1 Versum Deltas .................................... 7 Graphics Corner ............................... 10 Tricky Business ................................ 14 From the Library .............................. 19 What’s Coming Up ..........................20 In-Depth Coverage of the Icon Programming Language...
متن کاملIn-Depth Coverage of the Icon Programming Language
10. Avoid long lines. Instead, continue expressions on as many lines as are needed for easy readability. See the first two issues of The Icon Analyst for the proper techniques for breaking lines. Similarly, continue long string and cset literals on several lines if that’s necessary to make them readable. See Appendix A of the second edition of The Icon Programming Language for the method of con...
متن کامل